package com.shenhan.functioninterface;

import java.util.function.Supplier;

/**
 * @Author shenhan
 * @Date: 2020/6/11 21:40
 * @Description:
 */
public class SupplierDemo {
    public static void main(String[] args) {
        Supplier<String> supplier = () -> "返回值";
        System.out.println(supplier.get());
    }
}
